package banking;

public class Customer {
    private String firstName;
    private String lastName;

    private SavingsAccount savingAccount = null;
    private CheckingAccount checkingAccount = null;

    public SavingsAccount getSavings() {
        return savingAccount;
    }

    public void setSavings(SavingsAccount savingAccount) {
        this.savingAccount = savingAccount;
    }

    public CheckingAccount getChecking() {
        return checkingAccount;
    }

    public void setChecking(CheckingAccount checkingAccount) {
        this.checkingAccount = checkingAccount;
    }

    public Customer(String f, String l) {
        this.firstName = f;
        this.lastName = l;
    }

    public String getFirstName() {
        return firstName;
    }

    public String getLastName() {
        return lastName;
    }

}
